import axios from "@/api/http";
// @ts-ignore
import qs from 'qs'
import {ax} from "@fullcalendar/core/internal-common";

const list = (params: any = {}) => {
    return axios.post('/auth/invitation/list', params)
}
const create=(params:any={})=>{
    return axios.post('/auth/invitation/create',params)
}
const expire=(params:any={})=>{
    return axios.post('/auth/invitation/expire',qs.stringify(params))
}
export default {
    list,
    create,
    expire,
}
